﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Default9_8 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public static string GetNavigateUrlUpLoad(Object item1)
    {
        int nTaskID = (int)System.Web.UI.DataBinder.Eval(item1, "DepartmentID");
        
     
        string result;
        //如果是上传资料时，传递TaskID。
        switch (nTaskID)
        {
            case (int)1:
                result = "~/eduhome.aspx?TaskID= ";
                break;
            case (int)2:
                result = "~/eduhome.aspx?TaskID = ";
                break;
           
               
            default:
                result = " ";
                break;
        }
        result += nTaskID;
        return result;
    }
}
